<template>
	<view>
		<view style="  margin-top: 10rpx; display: flex;  justify-content: space-around; width: 100%; height: 100%;  flex-wrap: wrap;  ">


			<navigator  :url="`/pages/kk/xiangqing/xiangqing?id=${item.id}`" style="width: 80%; height: 400rpx;" v-for="(item,index) in activitylist" :index="index" :key="index">
				<image :src="item.photo" mode="aspectFill" style="width: 100%; height: 90%;"></image>

				<view>{{item.title}}</view>


			</navigator>

		</view>










	</view>
</template>

<script>
	export default {
		data() {
			return {
				cheActivity: null,
				activitylist: ''
			}
		},

		onLoad() {

			this.getactivtiy()

		},

		methods: {

			getactivtiy() {
				console.log("opop==============")

				let that = this
				this.$http({
					url: 'api/activity/activity/list',
					method: "get",
					data: that.cheActivity,
					success(res) {
						console.log("ppppppppppppppp")

						that.activitylist = res.data.rows
						console.log("actity==================")
						console.log(res.data.rows)
					}

				})

			},

		}
	}
</script>

<style>

</style>